<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>{$current['title']}-{$Think.CONFIG.sitename}</title>

    <link href="__PUBLIC__/static/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="__PUBLIC__/static/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/static/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="__PUBLIC__/static/css/animate.min.css" rel="stylesheet">
    <include file="Public/commoncss" />
    <!-- Sweet Alert -->
    <link href="__PUBLIC__/static/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">

</head>

<body class="gray-bg top-navigation">
<div id="wrapper">
    <div id="page-wrapper" class="gray-bg">
        <div class="row border-bottom white-bg">
            <include file="Public/header" />
        </div>
        <div class="wrapper wrapper-content">
            <div class="row">
                <div class="col-sm-3">
                    <div class="ibox float-e-margins">
                        <include file="Public/worknav" />
                    </div>
                </div>
                <div class="col-sm-9 animated fadeInRight">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title"><h4>我的月报</h4></div>
                        <div class="ibox-content">

                            <div class="row row-lg">


                                <div class="col-sm-12">
                                    <!-- Example Toolbar -->
                                    <div class="example-wrap">
                                        <!--<h4 class="example-title">工具条</h4>-->
                                        <div class="example">

                                            <div class="bootstrap-table">
                                                <div class="fixed-table-toolbar">
                                                    <form action="{:U('index')}" method="get">
                                                        <div class="columns columns-right btn-group pull-right">
                                                            <button class="btn btn-default btn-outline" type="submit" name="refresh" title="查找">
                                                                <i class="glyphicon glyphicon-search"></i>
                                                            </button>
                                                        </div>
                                                        <div class="pull-right search">
                                                            <input class="form-control input-outline" placeholder="全文搜索" name="keyword" type="text" value="{$_GET['keyword']}">
                                                        </div>
                                                    </form>
                                                </div>
                                                <div class="fixed-table-container" style="padding-bottom: 0px;">
                                                    <div class="fixed-table-body">
                                                        <table id="exampleTableToolbar" data-mobile-responsive="true" class="table table-hover">
                                                            <thead>
                                                            <tr>
                                                                <th style="" data-field="name" tabindex="0">
                                                                    <div class="th-inner text-center">
                                                                        序号
                                                                    </div>
                                                                    <div class="fht-cell">
                                                                    </div>
                                                                </th>
                                                                <th style="" data-field="star" tabindex="0">
                                                                    <div class="th-inner text-center">
                                                                       月报时间
                                                                    </div>
                                                                    <div class="fht-cell">
                                                                    </div>
                                                                </th>
                                                                <th style="" data-field="license" tabindex="0">
                                                                    <div class="th-inner text-center">
                                                                       等级
                                                                    </div>
                                                                    <div class="fht-cell">
                                                                    </div>
                                                                </th>
                                                                <th style="" data-field="license" tabindex="0">
                                                                    <div class="th-inner text-center">
                                                                        评定系数
                                                                    </div>
                                                                    <div class="fht-cell">
                                                                    </div>
                                                                </th>
                                                                <th style="" data-field="license" tabindex="0">
                                                                    <div class="th-inner text-center">
                                                                        审核状态
                                                                    </div>
                                                                    <div class="fht-cell">
                                                                    </div>
                                                                </th>
                                                                <th style="" data-field="description" tabindex="0">
                                                                    <div class="th-inner text-center">
                                                                         操 作
                                                                    </div>
                                                                    <div class="fht-cellr">
                                                                    </div>
                                                                </th>

                                                            </tr>
                                                            </thead>
                                                            <tbody>
                                                            <volist name="list" id="val" empty="没有找到匹配的记录">
                                                                <tr class="no-records-found">
                                                                    <td class="center" style="width: 10px">{$i}</td>
                                                                    <td>{$val.date|date='Y-m',###}</td>
                                                                    <td class="center">
                                                                        <if condition="$val['inspector_assess_score']">
                                                                            {$val.inspector_assess_score|getMonthlyDj=$val['inspector_duty_score'],$val['inspector_active_score'],$val['inspector_observe_score']}
                                                                            <else/>
                                                                            <if condition="$val['manager_assess_score']">
                                                                                {$val.manager_assess_score|getMonthlyDj=$val['manager_duty_score'],$val['manager_active_score'],$val['manager_observe_score']}
                                                                                <else/>
                                                                                <if condition="$val['my_assess_score']">
                                                                                    {$val.my_assess_score|getMonthlyDj=$val['my_duty_score'],$val['my_active_score'],$val['my_observe_score']}
                                                                                </if>
                                                                            </if>
                                                                        </if>
                                                                    </td>
                                                                    <td class="center">
                                                                        <if condition="$val['inspector_assess_score']">
                                                                            {$val.inspector_assess_score|getMonthlyJx=$val['inspector_duty_score'],$val['inspector_active_score'],$val['inspector_observe_score']}
                                                                            <else/>
                                                                            <if condition="$val['manager_assess_score']">
                                                                                {$val.manager_assess_score|getMonthlyJx=$val['manager_duty_score'],$val['manager_active_score'],$val['manager_observe_score']}
                                                                                <else/>
                                                                                <if condition="$val['my_assess_score']">
                                                                                    {$val.my_assess_score|getMonthlyJx=$val['my_duty_score'],$val['my_active_score'],$val['my_observe_score']}
                                                                                </if>
                                                                            </if>
                                                                        </if>
                                                                    </td>
                                                                    <td class="center">
                                                                        {$val.status|getMonthlyStatus}
                                                                    </td>
                                                                    <td class="center">
                                                                        <if condition="$val['status'] gt '1' ">
                                                                            <a href="{:U('edit')}?id={$val['id']}">查看</a>
                                                                            <else/>
                                                                            <a href="{:U('edit')}?id={$val['id']}">修改</a>
                                                                        </if>
                                                                    </td>
                                                                </tr>
                                                            </volist>

                                                            </tbody>
                                                        </table>
                                                    </div>

                                                </div>
                                            </div>
                                            <div class="clearfix"></div>
                                        </div>
                                    </div>
                                    <!-- End Example Toolbar -->
                                </div>
                                <div class="col-sm-12">
                                    <!-- Example Pagination -->
                                    <div class="example-wrap">
                                        <div class="example">
                                            <div class="clearfix">{$page}</div>
                                        </div>
                                    </div>
                                    <!-- End Example Pagination -->
                                </div>

                            </div>


                        </div>
                    </div>

                </div>
            </div>
        </div>

        <include file="Public/footer" />
    </div>
</div>
<include file="Public/commonjs" />
<script src="__PUBLIC__/static/js/bootstrap.min.js?v=3.3.5"></script>
<script src="__PUBLIC__/static/js/content.min.js?v=1.0.0"></script>
<script src="__PUBLIC__/static/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="__PUBLIC__/static/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
<script src="__PUBLIC__/static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="__PUBLIC__/static/js/demo/bootstrap-table-demo.min.js"></script>
<script src="__PUBLIC__/static/js/plugins/sweetalert/sweetalert.min.js"></script>
<script>
    $(function(){


    })
</script>
</body>

</html>